home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / WebObjects / WebObjectsDoc_HTML / Reuse / ReusableComponentsEx / AttributeEditorEx.wo / AttributeEditorEx.wod < prev    next >
Encoding:
Text File  |  1996-03-11  |  791 b   |  42 lines

  1. ////////////////////////
  2. //  AttributeEditor
  3. //  by Charles Lloyd
  4. ////////////////////////
  5.  
  6.  
  7. SubmitEdits: WOSubmitButton {
  8.     action = processForm;
  9.     value = "Submit Changes";
  10. };
  11.  
  12. MyAttributeEditor: AttributeEditor {
  13.     keyArray = localKeyArray;
  14.     valueArray = localValueArray;
  15.     cellPadding = cellPadding;
  16.     cellSpacing = 0;
  17.     borderSize = 2;
  18.     fieldSize = 15;
  19.     isEditable = isEditable;
  20. };
  21.  
  22. AttributeKeys: WOString {
  23.     value = localKeyArray;
  24. };
  25.  
  26. AttributeValues: WOString {
  27.     value = localValueArray;
  28. };
  29.  
  30. ToggleEditableButton: WOSubmitButton {
  31.     action = toggleEditable;
  32.     value = editableString;
  33. };
  34.  
  35. ComponentDescription: ComponentDescription {
  36.     componentName = "AttributeEditor";
  37. };
  38.  
  39. ShowSourceControls: ShowSource {
  40.     componentName = "AttributeEditor";
  41. }; 
  42.